﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Login.aspx.vb" Inherits="ExpWeb.Login1" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title>Exchange Program</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="description" content="" />
    <meta name="author" content="" />

    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" type="text/css" href="./dist/css/bootstrap.min.css" />

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
          <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->

    <style type="text/css">
        .row
        {
            margin-top: 8%;
        }

        .btn-primary
        {
            background-color: #808080;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <center>
                            <img src="Image/Bespoke-Logo.jpg" width="200" height="auto" /></center>
                    </div>
                    <div class="panel-body">
                        <form id="frmlogin" method="post" runat="server">
                            <fieldset>
                                <div class="form-group">
                                    <asp:TextBox ID="txtUserName" runat="server" CssClass="form-control" placeholder="User name" autofocus></asp:TextBox>
                                    <asp:RequiredFieldValidator runat="server" ID="rvUserValidator" ControlToValidate="txtUserName" ErrorMessage="You must fill a Username!" Display="None" />
                                </div>
                                <div class="form-group">
                                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" CssClass="form-control" placeholder="Password"></asp:TextBox>
                                    <asp:RequiredFieldValidator runat="server" ID="rvPasswordValidator" ControlToValidate="txtPassword" ErrorMessage="Empty Passwords not accepted" Display="None" />
                                </div>

                                <asp:Label ID="lblMessage" runat="server" Width="288px" Font-Bold="True" Font-Italic="True"
                                    Font-Size="Medium" ForeColor="#C00000"></asp:Label>

                                <asp:ValidationSummary runat="server" DisplayMode="BulletList" ID="Validationsummary1" />

                                <asp:Button ID="cmdSubmit" Text="Login" CssClass="btn btn-lg btn-primary btn-block" runat="server" BorderStyle="Solid"></asp:Button>
                            </fieldset>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="./bower_components/jquery/dist/jquery.min.js" type="text/javascript"></script>
    <script src="./dist/js/bootstrap.min.js" type="text/javascript"></script>

</body>
</html>
